<!-- HTML header for doxygen 1.8.12-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>pymoduleconnector: pymoduleconnector.extras.regmap.RegSegment Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
    <!-- Platform title -->
    <div class="page-title-bar container-fluid">
      <div id="projectalign" class="row">
        <div id="projectname" class="col-sm-12">pymoduleconnector
          &#160;<span id="projectnumber">1.6.2</span>
        </div>
        <div id="projectbrief" class="col-sm-12">A Python wrapper for XeThru ModuleConnector</div>
      </div>
    </div>
    <div class="topbar">
      <div class="container">
        <div id="titlearea">
          <div class="xethru-logo">
            <img src="xethru-logo_220x55HD.png" alt="Novelda XeThru web site" id="logo-image" />
          </div>
        </div>
        <!-- end header part -->
        <!-- Generated by Doxygen 1.8.12 -->
        <!--BEGIN MAIN-NAV AND SEARCHENGINE-->
        <div id="main-nav"></div>
        <!--END MAIN-NAV AND SEARCHENGINE-->
      </div>
    </div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>pymoduleconnector</b></li><li class="navelem"><b>extras</b></li><li class="navelem"><b>regmap</b></li><li class="navelem"><a class="el" href="classpymoduleconnector_1_1extras_1_1regmap_1_1_reg_segment.xhtml">RegSegment</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classpymoduleconnector_1_1extras_1_1regmap_1_1_reg_segment-members.xhtml">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pymoduleconnector.extras.regmap.RegSegment Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Register segment class.  
 <a href="classpymoduleconnector_1_1extras_1_1regmap_1_1_reg_segment.xhtml#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa7fe549a9090a255fead66d2893e4771"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpymoduleconnector_1_1extras_1_1regmap_1_1_reg_segment.xhtml#aa7fe549a9090a255fead66d2893e4771">__init__</a> (self, reg, start, stop, name, readonly, action=False)</td></tr>
<tr class="memdesc:aa7fe549a9090a255fead66d2893e4771"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a new <a class="el" href="classpymoduleconnector_1_1extras_1_1regmap_1_1_reg_segment.xhtml" title="Register segment class. ">RegSegment</a> object.  <a href="#aa7fe549a9090a255fead66d2893e4771">More...</a><br /></td></tr>
<tr class="separator:aa7fe549a9090a255fead66d2893e4771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a522c1c345a1dcc9da5fe97f2af357572"><td class="memItemLeft" align="right" valign="top"><a id="a522c1c345a1dcc9da5fe97f2af357572"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>__set__</b> (self, instance, value)</td></tr>
<tr class="separator:a522c1c345a1dcc9da5fe97f2af357572"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a3969dbc7f4b76b9e874b3605efec8a"><td class="memItemLeft" align="right" valign="top"><a id="a4a3969dbc7f4b76b9e874b3605efec8a"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>__get__</b> (self, instance, owner)</td></tr>
<tr class="separator:a4a3969dbc7f4b76b9e874b3605efec8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a7d722f43c574c0766e70d67e163ac561"><td class="memItemLeft" align="right" valign="top"><a id="a7d722f43c574c0766e70d67e163ac561"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>start</b></td></tr>
<tr class="separator:a7d722f43c574c0766e70d67e163ac561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77049ce52aa9076df7c82fe7a6cc0fe6"><td class="memItemLeft" align="right" valign="top"><a id="a77049ce52aa9076df7c82fe7a6cc0fe6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>stop</b></td></tr>
<tr class="separator:a77049ce52aa9076df7c82fe7a6cc0fe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31c85713d9d3af2672789c06bf25fbeb"><td class="memItemLeft" align="right" valign="top"><a id="a31c85713d9d3af2672789c06bf25fbeb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>size</b></td></tr>
<tr class="separator:a31c85713d9d3af2672789c06bf25fbeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb517febe0dcc34a0dbf02bb01c417af"><td class="memItemLeft" align="right" valign="top"><a id="afb517febe0dcc34a0dbf02bb01c417af"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>reg</b></td></tr>
<tr class="separator:afb517febe0dcc34a0dbf02bb01c417af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a46d874a9b2673f98ba47e778411323"><td class="memItemLeft" align="right" valign="top"><a id="a7a46d874a9b2673f98ba47e778411323"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>name</b></td></tr>
<tr class="separator:a7a46d874a9b2673f98ba47e778411323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c3a4e4e69818571f7afe64f03ac5f5"><td class="memItemLeft" align="right" valign="top"><a id="ac0c3a4e4e69818571f7afe64f03ac5f5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>readonly</b></td></tr>
<tr class="separator:ac0c3a4e4e69818571f7afe64f03ac5f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39d87631eaf593a422d4a033283ae9df"><td class="memItemLeft" align="right" valign="top"><a id="a39d87631eaf593a422d4a033283ae9df"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>action</b></td></tr>
<tr class="separator:a39d87631eaf593a422d4a033283ae9df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af14e2818df66250f14c48eb119594911"><td class="memItemLeft" align="right" valign="top"><a id="af14e2818df66250f14c48eb119594911"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>logger</b></td></tr>
<tr class="separator:af14e2818df66250f14c48eb119594911"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Register segment class. </p>
<p>Represents a register segment. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa7fe549a9090a255fead66d2893e4771"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7fe549a9090a255fead66d2893e4771">&sect;&nbsp;</a></span>__init__()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def pymoduleconnector.extras.regmap.RegSegment.__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>reg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>stop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>readonly</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>action</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize a new <a class="el" href="classpymoduleconnector_1_1extras_1_1regmap_1_1_reg_segment.xhtml" title="Register segment class. ">RegSegment</a> object. </p>
<p>The segment is defined as segment&lt;start:stop&gt; so start &gt;= stop.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>The register object the segment belongs to </td></tr>
    <tr><td class="paramname">start</td><td>The uppermost bit of the segment </td></tr>
    <tr><td class="paramname">stop</td><td>The lowest bit of the segment </td></tr>
    <tr><td class="paramname">name</td><td>The name of the segment </td></tr>
    <tr><td class="paramname">readonly</td><td>True if the segment is readonly </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>pymoduleconnector/extras/regmap.py</li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.12-->
<!-- start footer part -->
<hr class="footer"/>
 <address class="footer">
 Copyright &copy; 2016 Novelda AS - <a href="http://www.xethru.com">www.xehtru.com</a><br />
 <small>
  Generated by &#160;<a href="http://www.doxygen.org/index.html">
  <img class="footer" src="doxygen.png" alt="doxygen"/>
  </a> 1.8.12
 </small>
 </address>
</body>
</html>
